package com.baike.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author:pjm
 *
 * 学习时长表
 */
@Data
@Accessors(chain = true)
@Document(collection = "studentWatch")//指定映射
public class ProgressRequestDTO {
    private static final long serialVersionUID = 1L;

    //视频id
    @ApiModelProperty(value = "视频id")
    @Id
    private Long videoId;

    @ApiModelProperty(value = "课程id")
    private Long lessonId;

    @ApiModelProperty(value = "(学生)id")
    private Long studentId;

    //增量时间
    @ApiModelProperty(value = "增量时间")
    private Long incrementTime;//

    //视频总时长
    @ApiModelProperty(value = "视频总时长")
    private Long videoDuration;

    //视频播放位置
    @ApiModelProperty(value = "视频播放位置")
    private Long videoProgress;






}
